package wsi.gui.detector;

import java.awt.Component;
import java.util.List;

import org.rygh.gui.swing.component.MonitorContainer;
import org.rygh.semantic.gui.swing.input.Input;

import wsi.function.Function;

@Deprecated
public class DetectorMonitor extends MonitorContainer<List<DetectorTuple>> {

	public DetectorMonitor(Component parent, Component action) {
		super(parent, action, "Detecting input values for function");

	}

	public void run(List<Input> entities, Function function, int limit) {
		setTask(new DetectWorker(this, entities, function, limit));
		run();
	}
}
